package com.hzf.workman.rpc.api;

import com.hzf.workman.dao.model.*;

import java.util.List;

public interface WorkmanApiService {
    WorkmanManinfo installWorkmanManinfo(WorkmanManinfo workmanWorkmanManinfo);
    List<WorkmanManinfo> selectWorkmanManinfo(WorkmanManinfoExample workmanWorkmanManinfoExample);
    WorkmanManinfo getWorkmanManinfo(WorkmanManinfoExample workmanWorkmanManinfoExample);
    int updateWorkmanManinfo(WorkmanManinfo workmanWorkmanManinfo);
    int delectWorkmanManinfo(WorkmanManinfo workmanWorkmanManinfo);
    //距离查询工人
    List<WorkmanManinfo> selectByPrimaryWorkmanManinfo(int regionNumber, int status, long min0, long max0,
                                                       long min1, long max1, long min2, long max2,
                                                       long min3, long max3,
                                                       long min4, long max4,
                                                       long min5, long max5,
                                                       long min6, long max6,
                                                       long min7, long max7,
                                                       long min8, long max8);
    List<WorkmanDemand> selectByPrimaryWorkmanDemand(int regionNumber, int status, long min0, long max0,
                                                    long min1, long max1, long min2, long max2,
                                                    long min3, long max3,
                                                    long min4, long max4,
                                                    long min5, long max5,
                                                    long min6, long max6,
                                                    long min7, long max7,
                                                    long min8, long max8);
    int installWorkmanManinfoCase(WorkmanManinfoCase workmanWorkmanManinfo);
    List<WorkmanManinfoCase> selectWorkmanManinfoCase(WorkmanManinfoCaseExample workmanWorkmanManinfoExample);
    WorkmanManinfoCase getWorkmanManinfoCase(WorkmanManinfoCaseExample workmanWorkmanManinfoExample);
    int updateWorkmanManinfoCase(WorkmanManinfoCase workmanWorkmanManinfo);
    int delectWorkmanManinfoCase(WorkmanManinfoCase workmanWorkmanManinfo);
    int installWorkmanDemand(WorkmanDemand data);
    List<WorkmanDemand> selectWorkmanDemand(WorkmanDemandExample data);
    WorkmanDemand getWorkmanDemand(WorkmanDemandExample data);
    int updateWorkmanDemand(WorkmanDemand data);
    int delectWorkmanDemand(WorkmanDemand data);
    //添加投标单
    int installWorkmanBid(WorkmanBid data);
    //获取投标单
    List<WorkmanBid> selectWorkmanBid(WorkmanBidExample data);
    //获取单一投标单
    WorkmanBid getWorkmanBid(WorkmanBidExample data);
    //修改投标单
    int updateWorkmanBid(WorkmanBid data);
    //删除投标单
    int delectWorkmanBid(WorkmanBid data);
    //添加投标设计图
    int installWorkmanDemandSjt(WorkmanDemandSjt data);
    //获取投标设计图
    List<WorkmanDemandSjt> selectWorkmanDemandSjt(WorkmanDemandSjtExample data);
    //获取单一投标设计图
    WorkmanDemandSjt getWorkmanDemandSjt(WorkmanDemandSjtExample data);
    //修改投标设计图
    int updateWorkmanDemandSjt(WorkmanDemandSjt data);
    //删除投标设计图
    int delectWorkmanDemandSjt(WorkmanDemandSjt data);
    //添加投标设计图
    int installWorkmanDemandWlt(WorkmanDemandWlt data);
    //获取投标设计图
    List<WorkmanDemandWlt> selectWorkmanDemandWlt(WorkmanDemandWltExample data);
    //获取单一投标设计图
    WorkmanDemandWlt getWorkmanDemandWlt(WorkmanDemandWltExample data);
    //修改投标设计图
    int updateWorkmanDemandWlt(WorkmanDemandWlt data);
    //删除投标设计图
    int delectWorkmanDemandWlt(WorkmanDemandWlt data);
    //添加技能
    int installWorkmanManinfoJineng(WorkmanManinfoJineng data);
    //获取技能
    List<WorkmanManinfoJineng> selectWorkmanManinfoJineng(WorkmanManinfoJinengExample data);
    //获取单一技能
    WorkmanManinfoJineng getWorkmanManinfoJineng(WorkmanManinfoJinengExample data);
    //修改技能
    int updateWorkmanManinfoJineng(WorkmanManinfoJineng data);
    //删除技能
    int delectWorkmanManinfoJineng(WorkmanManinfoJineng data);
}
